#pragma once

#include "controllogic.h"

class Target;
class Launcher;

class TargetControlLogic :
	public ControlLogic
{
	friend class TargetController;

	std::vector<Target*> targets;
	std::vector<Target*> ProjectileTargets;

	Ogre::Real maxForce;
	Ogre::Real maxTorque;
	
	std::vector<Launcher*> launchers;

public:
	TargetControlLogic(Ogre::Real, Ogre::Real);
	~TargetControlLogic(void);

	void addTarget(Target*);
	void addProjectileTarget(Target*);

	Controller* makeController();
	
	void addLauncher(Launcher* launcher);

};
